/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Logica.cuenta;

import Logica.usuario.Usuario;
import java.util.Calendar;

/**
 *
 * @author maxi
 */
public class DataCuota {
    
    private boolean _paga;
    private Usuario _usr;
    private int _mes;
    private int _anio;
    private int _codigo;
    private Calendar _fechaPago;
    //private boolean _activa;
    
    public DataCuota(){}
    //DATA CUOTA 
    public DataCuota(Usuario usr, boolean paga, int mes, int anio, Calendar f){
        
        this._usr = usr;
        this._paga = paga;
        this._mes = mes;
        this._anio = anio;
        this._fechaPago = f;
        
    }
    //GET CUOTAS BD
     public DataCuota(int codigo, boolean paga, int mes, int anio, Calendar f ){
        this._codigo = codigo;
        this._paga = paga;
        this._mes = mes;
        this._anio = anio;
        this._fechaPago = f;
           
    }
    public boolean getPaga(){
        return this._paga;
   }
    public Calendar getFechaPago(){
        return this._fechaPago;
    }
    
    public int getMes(){
        return this._mes;
    }
    public int getAnio(){
        return this._anio;
    }
    public void setPaga(boolean p){
        this._paga = p;
    }
    public void setMes(int m){
        this._mes = m;
    }
    public void setAnio(int a){
        this._anio = a;
    }
    public void setUsuario (Usuario u){
        this._usr = u;
    }
    public Usuario getUsuario(){
        return this._usr;
    }
    public void setFechaPago(Calendar f){
        this._fechaPago = f;
    }
    /*
    public void setActiva(boolean act){
        this._activa = act;
    }
    public boolean getActiva(){
        return this._activa;
    }
    */
}
